package com.shuwen.gcdj.mapper.mysql.Statistic;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuwen.gcdj.bean.equipmentMaintenance.request.EquipmentPeriodReq;
import com.shuwen.gcdj.bean.workingConditions.request.StatisticConditionReq;
import com.shuwen.gcdj.bean.workingConditions.response.StatisticsWorkingconditionsResp;
import com.shuwen.gcdj.entity.statistics.StatisticsWorkingconditions;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author XYC
 */
@Mapper
public interface StatisticsWorkingconditionsMapper extends BaseMapper<StatisticsWorkingconditions> {

    /**
     * 查询工况统计
     * @param req
     * @return
     */
    List<StatisticsWorkingconditionsResp> setworkingconditionsMap(@Param("req") StatisticConditionReq req);

    /**
     * 工况统计报表
     * @param req
     * @return
     */
    List<StatisticsWorkingconditionsResp> getStatistic(@Param("req")EquipmentPeriodReq req);
}
